//
//  SYDRegisterTemplateViewController.m
//  PinGJByOwnerSide
//
//  Created by lantaiyuan on 2017/8/5.
//  Copyright © 2017年 lantaiyuan. All rights reserved.
//

#import "SYDRegisterTemplateViewController.h"

@interface SYDRegisterTemplateViewController ()
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintWidth;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *constraintHeight;
@property (weak, nonatomic) IBOutlet UIButton *FillCertificationBtn;//填写认证资料
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *topConstraint;

@end

@implementation SYDRegisterTemplateViewController
#pragma mark - 导航栏
- (void)navigationBarHandle{
    
    WEAKSELF
    [weakSelf backButtonAction:^{
        
        [weakSelf.navigationController popViewControllerAnimated:YES];
    }];
}
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
    self.navigationBar.title = @"注册";
    [self initTemplateUI];
    [self TemplateAction];
    [self navigationBarHandle];
}
-(void)initTemplateUI{
    self.FillCertificationBtn.eventTimeInterval  = 3.0;
    [self.FillCertificationBtn drawBorderWithColor:GREEN_COLOR radius:5];
}
#pragma mark---点击事件
-(void)TemplateAction{
    
    [[self.FillCertificationBtn rac_signalForControlEvents:UIControlEventTouchUpInside] subscribeNext:^(__kindof UIControl * _Nullable x) {
        
        SYDIdentityInformationViewController *InformationVc = [[SYDIdentityInformationViewController alloc]init];
        InformationVc.registerID = self.registerID;
        [self.navigationController pushViewController:InformationVc animated:YES];
    }];
}
- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


@end



